//
//  GQHCustomCell.h
//  Xanthium
//
//  Created by GuanQinghao on 28/02/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark 自定义Cell样式-------------------------------------------------------
/// 纯文本 单行单列 TextSingle
@interface GQHCustomTextSingleCell : UITableViewCell

/// 文本框
@property (nonatomic, strong) UILabel *qh_textLabel;

@end


/// 纯文本 水平双文本 TextDoubleHorizontal
@interface GQHCustomTextDoubleHorizontalCell : UITableViewCell

/// 左文本框
@property (nonatomic, strong) UILabel *qh_leftLabel;

/// 右文本框
@property (nonatomic, strong) UILabel *qh_rightLabel;

///显示单位
@property (nonatomic, strong) UILabel * qh_perLabel;

@property (nonatomic, assign) BOOL isHidden;

@end


/// 纯文本 垂直双文本 TextDoubleVertical
@interface GQHCustomTextDoubleVerticalCell : UITableViewCell

/// 上文本框
@property (nonatomic, strong) UILabel *qh_upLabel;

/// 下文本框
@property (nonatomic, strong) UILabel *qh_downLabel;

@end


#pragma mark 我的货源-报价信息页面Cell----------------------------------------------
/// 我的货源-报价信息页面Cell代理
@protocol GQHQuotationDetailCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 联系司机
- (void)qh_dialMobile:(UIButton *)sender;

/// 发送或查看或取消协议
- (void)qh_createOrCheckOrCancelContract:(UIButton *)sender;

@end

/// 我的货源-报价信息页面Cell
@interface GQHQuotationDetailCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHQuotationDetailCellDelegate> qh_delegate;

/// 头像
@property (nonatomic, strong) UIImageView *qh_avatarImageView;

/// 姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;

/// 司机车辆详情
@property (nonatomic, strong) UILabel *qh_contentLabel;

/// 报价
@property (nonatomic, strong) UILabel *qh_quoteLabel;

/// 联系司机按钮
@property (nonatomic, strong) UIButton *qh_dialButton;

/// 发送报价按钮 ／ 查看报价按钮
@property (nonatomic, strong) UIButton *qh_contractButton;

@end


#pragma mark 我的货源列表Cell-----------------------------------------------------
/// 我的货源列表Cell代理
@protocol GQHSuppliesCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 查看报价
- (void)qh_checkQutation:(UIButton *)sender;

/// 上架或下架货源
- (void)qh_onSaleOrNot:(UIButton *)sender;

@end

/// 我的货源列表Cell
@interface GQHSuppliesCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHSuppliesCellDelegate> qh_delegate;

/// 货源路线
@property (nonatomic, strong) UILabel *qh_routeLabel;

/// 货源简介
@property (nonatomic, strong) UILabel *qh_contentLabel;

/// 装车时间
@property (nonatomic, strong) UILabel *qh_loadingTimeLabel;

/// 查看报价按钮
@property (nonatomic, strong) UIButton *qh_checkQuotationButton;

/// 上架货源 ／ 下架货源
@property (nonatomic, strong) UIButton *qh_onSaleButton;

@end


#pragma mark 我的报价单列表Cell----------------------------------------------------
/// 我的报价单列表Cell代理
@protocol GQHQutationCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 联系货主
- (void)qh_dialMobile:(UIButton *)sender;

/// 确定承运协议或取消报价
- (void)qh_acceptContractOrNot:(UIButton *)sender;

/// 取消报价
- (void)qh_canclePrince:(UIButton *)sender;

@end

/// 我的报价单列表Cell
@interface GQHQutationCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHQutationCellDelegate> qh_delegate;
/// 报价金额
@property (nonatomic, strong) UILabel *qh_amountLabel;
/// 报价状态
@property (nonatomic, strong) UILabel *qh_statusLabel;
/// 报价货源路线
@property (nonatomic, strong) UILabel *qh_routeLabel;
/// 报价货源内容
@property (nonatomic, strong) UILabel *qh_contentLabel;
/// 装车时间
@property (nonatomic, strong) UILabel *qh_loadingTimeLabel;
/// 装车联系人
@property (nonatomic, strong) UILabel *qh_loaderLabel;
/// 估算里程
@property (nonatomic, strong) UILabel *qh_mileageLabel;
/// 联系货主
@property (nonatomic, strong) UIButton *qh_dialButton;
/// 确定承运
@property (nonatomic, strong) UIButton *qh_handleButton;
/// 取消报价
@property (nonatomic, strong) UIButton *qh_canclePrince;

@property (nonatomic, strong) UILabel * qh_showStatus;

@end


/// 智运客服Cell
@interface GQHCustomerServiceCell : UITableViewCell

@property (nonatomic, strong) UIImageView *qh_iconImageView;

@property (nonatomic, strong) UILabel *qh_titleLabel;

@property (nonatomic, strong) UILabel *qh_codeLabel;

@end


/// 发布货源-选择熟车Cell
@interface GQHFollowedTrucksCell : UITableViewCell

/// 熟车司机头像
@property (nonatomic, strong) UIImageView *qh_avatarImageView;
/// 熟车司机姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;
/// 熟车车辆信息
@property (nonatomic, strong) UILabel *qh_subtitleLabel;
/// 熟车路线
@property (nonatomic, strong) UILabel *qh_contentLabel;
/// 选中按钮
@property (nonatomic, strong) UIButton *qh_selectedButton;

@end



/// 找货列表Cell代理
@protocol GQHFreightsCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 联系司机
- (void)qh_dialMobile:(UIButton *)sender;

@end

/// 找货列表Cell
@interface GQHFreightsCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHFreightsCellDelegate> qh_delegate;
/// 路线
@property (nonatomic, strong) UILabel *qh_routeLabel;
/// 货源详情
@property (nonatomic, strong) UILabel *qh_contentLabel;
/// 装车时间
@property (nonatomic, strong) UILabel *qh_loadingTimeLabel;
/// 装货人
@property (nonatomic, strong) UILabel *qh_loaderLabel;
/// 里程
@property (nonatomic, strong) UILabel *qh_mileageLabel;
/// 发布时间
@property (nonatomic, strong) UILabel *qh_postTimeLabel;
/// 拨打电话按钮
@property (nonatomic, strong) UIButton *qh_dialButton;

@end




/// 关注页面列表Cell代理
@protocol GQHFollowedCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 关注或取消关注
- (void)qh_followedOrUnfollowed:(UIButton *)sender;

@end

/// 关注页面列表Cell
@interface GQHFollowedCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHFollowedCellDelegate> qh_delegate;

/// 头像
@property (nonatomic, strong) UIImageView *qh_avatarImageView;

/// 姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;

/// 评分(其他角色) ／ 车牌号(司机)
@property (nonatomic, strong) UILabel *qh_subtitleLabel;

/// 机构名称(其他角色) ／ 车辆信息(司机)
@property (nonatomic, strong) UILabel *qh_contentLabel;

/// 关注按钮
@property (nonatomic, strong) UIButton *qh_followedButton;

/// 是否关注
@property (nonatomic, assign) BOOL qh_followed;

@end



/// 转账记录页面Cell
@interface GQHTransactionCell : UITableViewCell

/// 转账标题
@property (nonatomic, strong) UILabel *qh_titleLabel;
/// 转账时间
@property (nonatomic, strong) UILabel *qh_timeLabel;
/// 转账金额
@property (nonatomic, strong) UILabel *qh_amountLabel;
/// 转账状态
@property (nonatomic, strong) UILabel *qh_statusLabel;

@end



/// 转入银行页面Cell
@interface GQHTransactionInBankCell : UITableViewCell

@property (nonatomic, strong) UIImageView *qh_imageView;

@property (nonatomic, strong) UILabel *qh_captionLabel;

@property (nonatomic, strong) UILabel *qh_detailLabel;

@end



// 车辆信息页面图文Cell
@interface GQHTruckImagesCell : UITableViewCell

@property (nonatomic, strong) UILabel *qh_captionLabel;

@property (nonatomic, strong) UIImageView *qh_leftImageView;

@property (nonatomic, strong) UIImageView *qh_rightImageView;

@end


// 角色选择页面Cell
@interface GQHRoleCell : UITableViewCell

@property (nonatomic, strong) UIImageView *qh_imageView;

@property (nonatomic, strong) UILabel *qh_titleLabel;

@property (nonatomic, strong) UILabel *qh_descriptionLabel;

@end





/// 我的评价-查看评价Cell
@interface GQHReviewCell : UITableViewCell

/// 头像
@property (nonatomic, strong) UIImageView *qh_avatarImageView;
/// 姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;
/// 时间
@property (nonatomic, strong) UILabel *qh_timeLabel;
/// 评价内容
@property (nonatomic, strong) UILabel *qh_contentLabel;
/// 星星
@property (nonatomic, strong) UIView *qh_ratingView;
/// 评分
@property (nonatomic, strong) UILabel *qh_scoreLabel;

@end



/// 关注页面列表Cell代理
@protocol GQHFreightCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 推送货源
- (void)qh_pushFreight:(UIButton *)sender;

@end

// 我关注的货主-货主信息-他的货源Cell
@interface GQHFreightCell : UITableViewCell

@property (nonatomic, weak) id<GQHFreightCellDelegate> qh_delegate;

@property (nonatomic, strong) UILabel *qh_routeLabel;

@property (nonatomic, strong) UILabel *qh_contentLabel;

@property (nonatomic, strong) UILabel *qh_timeLabel;

@property (nonatomic, strong) UIButton *qh_pushButton;

@end



// 我关注的车辆-车辆信息-路线Cell
@interface GQHRouteCell : UITableViewCell

@property (nonatomic, strong) UILabel *qh_departureLabel;

@property (nonatomic, strong) UILabel *qh_destinationLabel;

@end





/// 找车列表代理
@protocol GQHTrucksCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 拨打电话
- (void)qh_dialMobile:(UIButton *)sender;

@end

// 找车列表Cell
@interface GQHTrucksCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHTrucksCellDelegate> qh_delegate;
/// 司机头像
@property (nonatomic, strong) UIImageView *qh_avatarImageView;
/// 司机姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;
/// 车辆信息
@property (nonatomic, strong) UILabel *qh_contentLabel;
/// 路线信息
@property (nonatomic, strong) UILabel *qh_routeLabel;
/// 拨打电话按钮
@property (nonatomic, strong) UIButton *qh_dialButton;

@end





/// 我的运单列表代理
@protocol GQHOrderCellDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 确认装车或确认送达或评价
- (void)qh_loadedOrUnloadedOrComment:(UIButton *)sender;

/// 取消订单或在途追踪
- (void)qh_cancelOrMap:(UIButton *)sender;

/// 查看协议内容
- (void)qh_checkContract:(UIButton *)sender;

/// 拨打电话
- (void)qh_dialMobile:(UIButton *)sender;

@end

/// 我的运单列表Cell
@interface GQHOrderCell : UITableViewCell

/// 代理
@property (nonatomic, weak) id<GQHOrderCellDelegate> qh_delegate;

/// 运单号
@property (nonatomic, strong) UILabel *qh_orderIDLabel;

/// 运单状态
@property (nonatomic, strong) UILabel *qh_statusLabel;

/// 运单路线
@property (nonatomic, strong) UILabel *qh_routeLabel;

/// 运单内容
@property (nonatomic, strong) UILabel *qh_contentLabel;

/// 姓名
@property (nonatomic, strong) UILabel *qh_nameLabel;

/// 时间
@property (nonatomic, strong) UILabel *qh_intervalLabel;

/// 第一个按钮(查看协议)
@property (nonatomic, strong) UIButton *qh_oneButton;
@property (nonatomic, strong) UIView *qh_oneView;

/// 第二个按钮(联系司机)
@property (nonatomic, strong) UIButton *qh_twoButton;
@property (nonatomic, strong) UIView *qh_twoView;

/// 第三个按钮(取消订单/在途跟踪)
@property (nonatomic, strong) UIButton *qh_threeButton;
@property (nonatomic, strong) UIView *qh_threeView;

/// 第四个按钮(确认装车/确认确认送达/立即评价)
@property (nonatomic, strong) UIButton *qh_fourButton;
@property (nonatomic, strong) UIView *qh_fourView;

@end


// 协议内容页面Cell
@interface GQHContractCell : UITableViewCell

@property (nonatomic, strong) UILabel *qh_totalFeeLabel;
@property (nonatomic, strong) UILabel *qh_totalFeeLabel1;

@property (nonatomic, strong) UILabel * driverName;
@property (nonatomic, strong) UILabel * consigneeMobile;
@property (nonatomic, strong) UILabel * ownerName;

@property (nonatomic, strong) UILabel *qh_contractTimeLabel;


@property (nonatomic, strong) UILabel *qh_routeLabel;

@property (nonatomic, strong) UILabel *qh_contentLabel;

@property (nonatomic, strong) UILabel *qh_packTimeLabel;

@property (nonatomic, strong) UIImageView *qh_shipperAvatarImageView;

@property (nonatomic, strong) UILabel *qh_shipperNameLabel;

@property (nonatomic, strong) UILabel *qh_prepaidLabel;

@property (nonatomic, strong) UILabel *qh_preGasLabel;

@property (nonatomic, strong) UILabel *qh_preETCLabel;

@property (nonatomic, strong) UILabel *qh_preCashLabel;

@property (nonatomic, strong) UILabel *qh_postpaidLabel;

@property (nonatomic, strong) UILabel *qh_postGasLabel;

@property (nonatomic, strong) UILabel *qh_postETCLabel;

@property (nonatomic, strong) UILabel *qh_postCashLabel;

@property (nonatomic, strong) UILabel *qh_weightLabel;

@property (nonatomic, strong) UILabel *qh_volumeLabel;

@property (nonatomic, strong) UILabel *qh_quantityLabel;

@property (nonatomic, strong) UILabel *qh_otherFeeLabel;

@property (nonatomic, strong) UILabel *qh_noteLabel;

@property (nonatomic, strong) UIImageView *qh_driverAvatarImageView;

@property (nonatomic, strong) UILabel *qh_driverNameLabel;

@property (nonatomic, strong) UILabel *qh_carNumberLabel;

@property (nonatomic, strong) UILabel *qh_carInfoLabel;

@property (nonatomic, strong) UIWebView *qh_contentWebView;

@end


// 消息
@interface GQHMessageCell : UITableViewCell

@property (nonatomic, strong) UILabel *qh_timeLabel;
@property (nonatomic, strong) UILabel *qh_contentLabel;

@end
